package com.zzyl.service;

import com.zzyl.dto.ResourceDto;
import com.zzyl.vo.ResourceVo;
import com.zzyl.vo.TreeVo;

import java.util.List;

public interface ResourceService {

    /*
    * 多条件查询资源列表
     */
    List<ResourceVo> findResourceList(ResourceDto resourceDto);


    TreeVo resourceTreeVo(ResourceDto resourceDto);
    /*
    * 创建资源
     */
    void createResource(ResourceDto resourceDto);

    void enableResource(ResourceDto resourceDto);

    void updateResource(ResourceDto resourceDto);

    void deleteResource(String resourceNo);
}
